package com.yunxi.sys.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class RoleUserVO implements java.io.Serializable {
    private String roleUserId;
    private String roleId;
    private String userId;

    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date createTime;

    private String createBy;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    private String updateBy;

    private List<RoleUserVO> roleUserList = new ArrayList<RoleUserVO>();

    private String userName;

    private String roleName;

    private String roleCode;

    private Integer isDel;
    private Integer isAdd;
    private Integer isEdit;
    private Integer isCheck;
    private Integer isExp;
    private Integer isImp;
    private Integer isFind;
}